WP_Defender\Controller\Recaptcha B

Total Complexity 92
Dependencies 9
Dependents 2
Total lines 697
Lines of code 470
Logical lines of code 207
Comment lines 140
Methods 24
Properties 8

Methods 24

Method Rating Maintainability Complexity Lines of code
load_recaptcha_preview()
A
35 8 113
__construct()
A
41 12 50
data_frontend()
A
42 9 52
recaptcha_post_request()
S
52 7 25
login_scripts()
S
47 5 53
recaptcha_should_enqueue()
S
57 6 15
validate_captcha_field_wpmu_registration()
S
59 5 14
signup_extra_fields()
S
55 4 20
recaptcha_field()
S
56 4 19
load_scripts()
S
60 4 13
validate_captcha_field_on_login()
S
62 4 11
validate_captcha_field()
S
63 4 10
save_settings()
S
55 2 23
import_data()
S
69 2 7
error_message()
S
70 2 6
get_model()
S
70 2 6
recaptcha_response()
S
66 2 8
signup_hidden_fields()
S
74 2 5
script_loader_tag()
S
70 2 6
export_strings()
S
72 2 5
script_data()
S
76 1 4
remove_settings()
S
98 1 1
remove_data()
S
82 1 3
to_array()
S
98 1 1